<template>
    <div class="box" :style="{height : innerHeight}">
        <div>
            <van-nav-bar  title="关于我们" left-text="" right-text="" left-arrow @click-left="back" />
        </div >

        <div class="imgBox">
            <img src="https://cdn3.axureshop.com/demo/1525603/images/%E6%AC%A2%E8%BF%8E%E9%A1%B5/u268.png" alt="">
        </div>
        <div class="text">
            小野外卖商家中心
        </div>
        <div class="text2">
            v {{version}}
        </div>
        <div class="row">
     
        <van-cell title="用户协议" is-link to="/userAgreement" />
        <van-cell title="隐私政策" is-link to="/PrivacyPolicy" />

        <van-cell title="检查版本"   :value="value" />
        </div>
       

    </div>


</template>

<script>
    export default {
    name : 'AboutUs',
    components:{
        
    },
    data(){
        return{
            innerHeight:'',
            version:"3.6.1",
            value:'已是最新版本'
        }
    },
    created(){
        this.innerHeight=window.innerHeight+'px'
    },
    methods: {
        back() {
            this.$router.go(-1)
        }
    }

}

</script>


<style scoped>
    .box{
        background-color: #f5f5f5;
    }
    .imgBox{
        width: 110px;
        margin: 60px auto 20px;
    }
    .text{
        width: 90%;
        margin:10px auto;
        text-align: center;
        font-size: 18px;
    }
    .text2{
        width: 90%;
        margin:10px auto ;
        text-align: center;
        font-size: 14px;
        color: #797979;
    }
    /* 导航栏背景颜色 */
    .van-nav-bar{
    background: #f5f5f5;  
    }
    
</style>